<template>
  <tree-tables
    v-if="formId!=0"
    :form-id="formId"
    :modal-width="modalWidth"
    :modal-out-height="modalOutHeight"
    :search-placeholder="searchPlaceholder"
  ></tree-tables>
</template>

<script>
import TreeTables from '_c/tables';

export default {
  name: 'tree_table_page',
  components: {
    TreeTables
  },
  props: {
    formId: {
      type: Number,
      default: 0
    },
    modalWidth: {
      type: Number,
      default: 500
    },
    modalOutHeight: {
      type: Number,
      default: 353
    },
    searchPlaceholder: {
      type: String,
      default: '请输入关键字查询'
    }
  }
};
</script>
